package com.csy.property.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csy.property.community.domain.AjRoom;
import com.csy.property.community.domain.vo.AjRoomVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 房间
 */
@Mapper
public interface AjRoomMapper extends BaseMapper<AjRoomVo>{

    /**
     * 根据条件分页查询用户列表
     */
      public List<AjRoomVo> selectRoomList(AjRoomVo ajRoomVo);

    /**
     * 查询房间信息
     * @param roomId
     * @return
     */
      AjRoomVo selectById(Long roomId);

    /**
     * 更新房间
     * @param ajRoomVo 实体对象
     * @return
     */
      int updateById(AjRoomVo ajRoomVo);

      List<AjRoom> queryPullDownAllRoom(Long unitId);

}
